package top.healthylife.gateway.platform.bj.api.api.haoyue;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.bj.api.util.BjHttpUtil;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.moon.bank20.req.BjReqPersonalMarkMoon20BankV1Dto;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.moon.bank20.res.BjResPersonalMarkMoon20BankV1Dto;

/**
 * @author : GaoZeXi
 * @date 2021/7/14 9:50
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20,apiName = "个人评分-皓月20银行版", info = "冰鉴个人评分平台 皓月20银行版 API 接口。")
public class PersonalMarkMoon20BankV1Api implements ParentFace<BjReqPersonalMarkMoon20BankV1Dto, BjResPersonalMarkMoon20BankV1Dto> {
    static final String URL = "/person-ds/credit/BankBrightMoon20";
    @Override
    public BjResPersonalMarkMoon20BankV1Dto execute(BjReqPersonalMarkMoon20BankV1Dto bjReqPersonalMarkMoon20Dto){
        return BjHttpUtil.httpRequest(bjReqPersonalMarkMoon20Dto,URL,BjResPersonalMarkMoon20BankV1Dto.class);
    }
}
